
/* AssessmentView.css */

/* 页面整体容器，居中显示，背景淡灰色 */
.assessment-view-container {
  max-width: 400px; /* 模拟手机宽度 */
  margin: 0 auto;
  background: #f6f5f3;
  min-height: 100vh;
  font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
  position: relative;
  padding-bottom: 80px; /* 给底部按钮留空间 */
}

/* 顶部状态栏 */
.status-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 28px;
  padding: 0 16px;
  font-size: 15px;
  color: #888;
  margin-top: 8px;
}

.status-bar .icons span {
  margin-left: 6px;
}


/* 状态栏 */
.status-bar {
  display: flex;
  justify-content: space-between;
  padding: 10px 15px;
  background-color: transparent;
}

.time {
  font-weight: 600;
}

.icons {
  display: flex;
  gap: 8px;
}

/* 头部区域 */
.assessment-header {
  display: flex;
  align-items: flex-start;
  margin-top: 8px;
  padding: 0 20px;
}

.back-button {
  background: none;
  border: none;
  font-size: 22px;
  color: #a08a7b;
  margin-right: 8px;
  margin-top: 4px;
  cursor: pointer;
  padding: 15px 15px 10px;
  background-color: transparent;
}

.back-button {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: none;
  background-color: rgba(230, 220, 216, 0.8); /* 浅褐色圆形按钮 */
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 15px;
  cursor: pointer;
  color: #4b3a2e;
}

.header-title {
  flex: 1;
}

.header-title h1 {
  font-size: 22px;
  font-weight: 600;
  color: #3d2b1f;
  margin: 0;
  margin-bottom: 2px;
}

.header-title .subtitle {
  font-size: 14px;
  color: #a08a7b;
  margin: 0 0 5px 0;
  color: #4b3a2e;
}

.subtitle {
  font-size: 14px;
  color: #777;
  margin: 0;
}

/* 患者信息卡片 */
.patient-card {
  background: #4b3424;
  border-radius: 18px;
  margin: 18px 20px 12px 20px;
  padding: 18px 18px 14px 18px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 2px 8px rgba(75, 52, 36, 0.08);
  background-color: #744820; /* 深褐色背景 */
  color: white;
  margin: 5px 15px 15px;
  padding: 15px;
  border-radius: 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.patient-info {
  display: flex;
  align-items: center;
}

.patient-icon {
  width: 38px;
  height: 38px;
  background: #fff;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  margin-right: 12px;
}

.patient-details {
  color: #fff;
}

.symptom-count {
  font-size: 17px;
  font-weight: 600;
  margin-bottom: 2px;     
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background-color: rgba(255, 255, 255, 0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  margin-right: 12px;
}

.symptom-count {
  font-weight: bold;
  font-size: 16px;
}

.patient-age-gender {
  font-size: 14px;
  opacity: 0.85;
}

.edit-button {
  background: none;
  border: none;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
  margin-left: 8px;
  opacity: 0.9;
}

.edit-button {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background-color: rgba(255, 255, 255, 0.2);
  font-size: 16px;
  cursor: pointer;
}

/* 结果标题 */
.results-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 22px;
  margin-top: 10px;
  margin-bottom: 6px;
  justify-content: space-between;
  align-items: center;
  padding: 10px 15px 5px;
  margin-top: 0;
}

.results-header h2 {
  font-size: 16px;
  color: #3d2b1f;
  font-weight: 600;
  margin: 0;
  margin: 0;
  color: #4b3a2e;
  font-weight: 600;
}

.highest-match {
  font-size: 13px;
  color: #a08a7b;
  color: #777;
  display: flex;
  align-items: center;
}

.up-arrow {
  font-size: 13px;
  margin-left: 2px;
}

/* 结果卡片列表 */
.results-list {
  padding: 0 12px;
}

.result-card {
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 2px 8px rgba(75, 52, 36, 0.06);
  margin-bottom: 14px;
  padding: 16px 16px 12px 16px;
  transition: box-shadow 0.2s;
  position: relative;
}

.result-card:last-child {
  margin-bottom: 0;
}

.result-main {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.result-title {
  font-size: 16px;
  color: #3d2b1f;
  font-weight: 500;
}

.result-arrow {
  font-size: 22px;
  color: #cfcfcf;
  margin-left: 8px;
}

/* 进度条 */
.result-progress-bar {
  width: 100%;
  height: 7px;
  background: #f1ece7;
  border-radius: 6px;
  margin: 12px 0 8px 0;
  overflow: hidden;
}

.result-progress {
  height: 100%;
  border-radius: 6px;
  transition: width 0.4s;
}

/* 匹配度和严重程度 */
.result-info {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: #a08a7b;
}

.result-match {
  display: flex;
  align-items: center;
  margin-right: 12px;
}

.result-severity {
  display: flex;
  align-items: center;
  color: #e87c3d;
  font-weight: 500;
}

.result-severity-icon {
  font-size: 15px;
  margin-right: 2px;
  color: #7cb342;
  margin-left: 5px;
  font-size: 15px;
}

/* 空白内容区域 */
.empty-content-area {
  flex: 1;
  /* 故意留空，以匹配截图 */
}

/* 底部按钮区域 */
.bottom-actions {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 18px;
  display: flex;
  justify-content: center;
  gap: 22px;
  z-index: 10;
  pointer-events: none; /* 只让按钮可点 */
}

.action-button {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: none;
  font-size: 22px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(75, 52, 36, 0.10);
  cursor: pointer;
  pointer-events: auto;
  transition: background 0.2s;
}

.ghost-button {
  background: #fff;
  color: #4b3424;
}

.primary-button {
  background: #b6c97a;
  color: #fff;
}

.action-button:active {
  opacity: 0.85;
  display: flex;
  justify-content: center;
  gap: 30px;
  padding: 15px;
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  max-width: 480px;
  margin: 0 auto;
  background-color: transparent;
  z-index: 100;
}

.action-button {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.ghost-button {
  background-color: #666666; /* 灰色按钮 */
  color: white;
}

.primary-button {
  background-color: #a9bc7e; /* 绿色按钮 */
  color: white;
} 